<?php

namespace Boosen\Company\app\Models;

use Illuminate\Database\Eloquent\Model;

class CNBaseUrl extends Model
{
    /**
     * 与模型关联的数据表。
     *
     * @var string
     */
    protected $table = 'cn_base_urls';

    protected $fillable = ['keywords', 'city', 'url', 'scode'];
    public $timestamps = false;

    public function socpePending($query)
    {
    	$query->where('page = ?', 30);
    }
}